# showtime.py
# Joshua Marshall Moore
# June 17th, 2010

from ubigraph import Ubigraph
from time import sleep
from minute import Minute

g = Ubigraph()
g.clear()

minutes = []
count = 0
min = Minute(g)
while True:
    min.tick()

    if min.isFull():
        min.setCircle(True)
        minutes.append(min)
        min = Minute(g)

    sleep(1)
